package com.snow.common.exception;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * All rights Reserved, Designed By www.cusc.com
 *
 * @author yanke
 * @Title: BadRequestException
 * @Package com.snow.common.base
 * @Description:类描述
 * @Email yanke@cu-sc.com
 * @version: v1.0.0
 * @date: 2021/7/2/0002 9:59
 * @Copyright: 2021  www.faw.com.cn Inc. All rights reserved. <br/>
 * Modification History:<br/>
 * Date         Author          Version            Description<br/>
 * *---------------------------------------------------------*<br/>
 * 2021/7/2/0002     Administrator           v1.0.0               修改原因<br/>
 * @since JDK 1.8
 */
@Data
public class BadRequestException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    @Getter
    @Setter
    private String msg;

    public BadRequestException(String msg) {
        this.msg = msg;
    }
}
